package com.yt.sys.models.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

/**
 * 员工星级VO
 *
 * @author yzz
 * @Date 2025-09-17 14:31:15
 */
@Data
public class EmpRatingStatsVO implements Serializable {
    @ApiModelProperty(value = "主键ID")
    private Long id;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "员工ID")
    private Long userId;
    @ApiModelProperty(value = "平均星级（保留一位小数）")
    private BigDecimal totalRating;
    @ApiModelProperty(value = "评价总数")
    private Integer evaluationCount;
    @ApiModelProperty(value = "5星评价数量")
    private Integer fiveStarCount;
    @ApiModelProperty(value = "4星评价数量")
    private Integer fourStarCount;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
